package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 每日库存盘点表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_warehouse_inventory_daily")
@ApiModel(value = "XhWarehouseInventoryDaily对象", description = "每日库存盘点表")
public class XhWarehouseInventoryDaily implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("班次1早班，2晚班")
    private String shiftId;

    @ApiModelProperty("盘库日期")
    private Date inventoryDate;

    @ApiModelProperty("B端客户标识")
    private Integer companyId;

    @ApiModelProperty("仓库id")
    private Integer warehouseId;

    @ApiModelProperty("待充的电池数量")
    private Integer waitchargeNum;

    @ApiModelProperty("有电的电池数量")
    private Integer fullchargeNum;

    @ApiModelProperty("柜子中电池的数量")
    private Integer cabinetNum;

    @ApiModelProperty("外借的电池数量")
    private Integer lendNum;

    @ApiModelProperty("已报废的电池数量")
    private Integer scrapNum;

    @ApiModelProperty("已返厂的电池数量")
    private Integer factoryNum;

    @ApiModelProperty("待返厂的电池数量")
    private Integer waitfactoryNum;

    @ApiModelProperty("电池总数")
    private Integer totalNum;

    @ApiModelProperty("外出的电池数量")
    private Integer outNum;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("客户盘点关联ID")
    private Integer businessDailyId;

    @ApiModelProperty("是否删除 1-已删除 0-未删除")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    @ApiModelProperty("创建人ID")
    private Integer creatorId;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
